No icon

JAVASCRIPT COMMENTS 

JAVASCRIPT COMMENTS 

JAVASCRIPT COMMENTS 

Comments means if you write a script in a file may be that related to logic or that related to path information.

If you mention information as some text related to that logic  for furture reference , in future these may helps to remember that logic.

JavaScript comments can also be used to prevent execution, when testing alternative code.

TWO TYPES OF COMMENTS ARE PRESENT IN JAVASCRIPT

1. Single line Comments

//

2. Multiple line Comments

/*

Comment As:

Comment (0)